package com.ruoyi.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author: zhangzhe
 * @Date: 2023/9/15
 */
@Data
@TableName(value = "sys_task_issue")
@ApiModel("任务计划表")
public class SysTaskIssue {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("问题id")
    private Long id;

    @ApiModelProperty("任务id")
    private Long taskId;

    @ApiModelProperty("计划id")
    private Long planId;

    @ApiModelProperty("问题")
    private String issue;

    @ApiModelProperty("问题类型id")
    private String issueTypeId;

    @TableField(exist = false)
    @ApiModelProperty("问题类型名称")
    private String issueTypeName;

    @ApiModelProperty("严重程度 1:一级 2:二级 :三级")
    private Integer severity;

    @ApiModelProperty("审核状态 0:待审核  1:审核通过 2:审核拒绝")
    private Integer auditStatus;

    @ApiModelProperty("问题状态  0:删除，1:启用")
    private Integer status;

    @TableField(exist = false)
    @ApiModelProperty("问题附件")
    private List<SysTaskFile> file;

}
